﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using BUS;

namespace GUI
{
    public partial class test : Form
    {
        public test()
        {
            InitializeComponent();
            this.LayBang();
        }

        public void LayBang()
        {
            DataTable dt;
            HoaDonNhapBUS hdBus= new HoaDonNhapBUS();
            dt = hdBus.LayBang();
            dataGridView1.DataSource = dt;
        }
         
        
        
    }
}
